package com.zwq.zwqjavanotes.config;/**
 * @Author gnplum
 * @Date 2025/6/12 17:15
 * @PackageName:com.zwq.zwqjavanotes.config
 * @ClassName: UrlConfig
 * @Description: TODO
 * @Version 1.0
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @ClassName UrlConfig
 * @Description 配置文件类-初始化url.properties文件中的配置信息
 * @Author @gnplum O_o
 * @Date 2025/6/12 17:15
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "mid")
@PropertySource(value = "classpath:url.properties", encoding = "UTF-8")
public class UrlConfigByProperties {
    private String url;
    private String key;
    private String secret;
}
